.subpen {
  position: absolute;
  z-index: 99;
  right: -48px;
  top: 10px;
  display: flex;
  padding: 5px;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(239, 240, 240, 0.9);
  box-shadow:
    0 1px 2px -2px #00000014,
    0 2px 6px #0000000a,
    0 4px 8px 1px #00000005;
  transition: transform 0.2s ease-in-out;
  transform: scale(1); /* 默认大小 */
  .subpen-item {
    width: 28px;
    height: 28px;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 4px;

    img {
      width: 100%;
      height: 100%;
    }
  }
  .subActive {
    background-color: rgba(204, 204, 204, 0.6);
  }
}
.subpen-hidden {
  .subpen();
  transition: transform 0.2s ease-in-out;
  transform: scale(0);
}
